.container {
  display: flex;
  flex-direction: column;
  > div {
    > div {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
  }
}